﻿using System.Collections.Generic;

namespace dotNetMagazin201108.BusinessLayer
{
    public interface Repository<T>
        where T:class
    {
        IEnumerable<T> GetAll();
        T GetById(int id);
        bool Add(T entity);
        bool Update(T entity);
    }
}
